package com.yc.qunxing.web;

import com.yc.qunxing.clients.IndexAction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("order")
public class IndexController {
    @Autowired
    IndexAction indexAction;
    @RequestMapping("indexForFeign")
    public String indexForFeign(){
        return indexAction.index();
    }
}
